Schnittstelle ResultModel.ResultModelChangeListener
- Umschließende Klasse:
ResultModel
public static interface ResultModel.ResultModelChangeListener
Defines a listener for the result model
- Seit:
- 3.0
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanerrorOcurred(ExceptionData error, boolean interrupted, BasePresenter.ERROR_SOURCE source) Called by the model whenever certain errors occur.voidmodelChanged(ResultModel.ChangeInfo change) Called by the model whenever the date in the model is changed.
-
Methodendetails
-
errorOcurred
Called by the model whenever certain errors occur.- Parameter:
error- the Error which occurredinterrupted- true if the comparison was interrupted by this errorsource- the Source of the error- Gibt zurück:
trueif the user was notified,falseif the listener is not meant for user feedback (e.G. a PDF export)
-
modelChanged
Called by the model whenever the date in the model is changed.- Parameter:
change- this object describes the regions where the data was changed.
-